Put objects which are decorated with [DataContract] into a StateServer?

Posted by Dave on Stack Overflow See other posts from Stack Overflow or by Dave
Published on 2010-03-12T22:55:19Z Indexed on 2010/03/12 22:57 UTC
Read the original article Hit count: 191

Is there anyway to stick objects which are decorated with DataContract attributes but not decorated with Serializable attributes in to a SqlServer StateServer? In other words, I would prefer not having to decorate these objects with the Serializable attribute as I will also have to implement IXmlSerizable on all of these objects because they do not have empty contstructors, and non-public setters for properties.

© Stack Overflow or respective owner

Related posts about serialization

Related posts about session-state